package com.ch.swagger2.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author cj-ch
 * @date 2018/4/27 下午12:05
 */
@ApiModel(description = "修改用户请求对象")
public class UpdateUserRequest {

//    @ApiModelProperty(value = "用户Id",example = "1",dataType = "Long")
//    private Long id;

    @ApiModelProperty(value = "名称",example = "你的名字")
    private String name;
    @ApiModelProperty(value = "年龄",example = "18")
    private Integer age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


}
